from send2trash import send2trash

def trash(path):
    send2trash(path)
from  winshell import recycle_bin
import winshell
recycle_bin().empty(confirm=False,show_progress=False, sound=False)    # Empty the recycle bin
# trash("C:/Users/user/Desktop/test.txt")    # Move a file to the recycle bin
for item in recycle_bin():
    winshell.undelete(item.original_filename)